package com.exam.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author XiaoKai
 * @since 2021-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("exam_questionbank")
@ApiModel(value="Questionbank对象", description="")
public class Questionbank implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题库id")
    @TableId(value = "bank_id", type = IdType.AUTO)
    private Integer bankId;

    @ApiModelProperty(value = "题库名称")
    private String bankName;

    @ApiModelProperty(value = "单选题数量")
    @TableField(exist = false)
    private Integer singleCount;

    @ApiModelProperty(value = "多选题数量")
    @TableField(exist = false)
    private Integer multipleCount;

    @TableField(exist = false)
    @ApiModelProperty(value = "判断题数量")
    private Integer judgmentCount;

    @ApiModelProperty(value = "题库创建时间")
    @TableField(value = "bank_createTime",fill = FieldFill.INSERT)
    private Date bankCreateTime;


}
